{template header}
{if $tips}
<div class="alert">{$tips}<a class="close" data-dismiss="alert" href="#">&times;</a></div>
{else}
<script src="static/bootstrap/js/utils.js"></script>
<link rel="stylesheet" href="static/calendar/js/calendar.css" />
<script type="text/javascript" charset="utf-8" src="static/calendar/calendar.php"></script>
<style type="text/css">
  .pushUrl{margin: 10px auto;}
  .pushUrl li{list-style-type: none; float: left; margin: 2px 5px;background-color:#dbeaf9;padding:5px;cursor: pointer;}
</style>

<form class="form-horizontal" action="index.php?c=admin&a=instrMsgInfo" method="post">
  
  <div class="control-group">
    <label class="control-label" for="inputTiltle">指令:</label>
    <div class="controls">
      <div class="control-group">
        <div class="">
          <input type="text" name='key' readonly="readonly" placeholder="请输入指令" value="{if $data}{$data['key']}{else}{/if}">
        </div>
      </div>
      
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputTiltle">消息内容:</label>
      <div class="control-group">
        <div class="controls">
          <textarea name="content" placeholder="请输入消息内容" style="min-width:80%; min-height:200x;">{if $data}{$data['content']}{else}{/if}</textarea>
        </div>
    </div>
  </div>
  
  <!-- <div class="control-group">
    <label class="control-label" for="inputTiltle">顺序(数字):</label>
      <div class="control-group">
        <div class="controls">
          <textarea name="sort" placeholder="请输入顺序号(只能是数字)" style="min-width:80%; min-height:200x;">{if $data}{$data['sort']}{else}{/if}</textarea>
        </div>
    </div>
  </div> -->
  
  <div class="control-group">
    <div class="controls">
        <input type="hidden" name="id" value="{if $id}{$id}{else}{/if}">
        <input type="hidden" name="handletype" value="{$handletype}">
        <button type="submit" class="btn" >提交</button>
        &nbsp;
        <input type="reset" class="btn" value="重置">
    </div>
  </div>
</form>
{/if}
{template footer}